.table-demo-container {
  padding: 24px;
  max-width: 1400px;
  margin: 0 auto;

  .demo-header {
    margin-bottom: 24px;

    h1 {
      font-size: 28px;
      font-weight: 500;
      margin: 0 0 8px 0;
    }

    .description {
      color: rgba(0, 0, 0, 0.6);
      font-size: 14px;
      margin: 0;
    }
  }

  .demo-card {
    margin-bottom: 24px;
    overflow: hidden;

    mat-card-content {
      padding: 0;
      min-height: 600px; // 确保表格容器有足够的高度（表格组件使用 height: 100%）
      display: block;
      position: relative; // 确保绝对定位的子元素能正确定位
    }
  }

  .demo-info {
    padding: 16px;
    background-color: #f5f5f5;
    border-radius: 4px;

    h3 {
      font-size: 18px;
      font-weight: 500;
      margin: 0 0 12px 0;
    }

    ul {
      margin: 0;
      padding-left: 20px;

      li {
        margin-bottom: 8px;
        line-height: 1.6;

        strong {
          color: #1976d2;
        }
      }
    }
  }
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.form-field input:disabled,
.form-field select:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
}